package com.project.bean;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 权限表实体类
 */
@Data
@Api(tags = "权限视图")
@TableName(value = "sys_grade")
public class GradeBean {

    @ApiModelProperty(value = "编号",hidden = true)
    @TableId(value = "pk_gradeId")
    private int id;

    @ApiModelProperty(value = "权限名")
    private String gradeName;

    @TableField(exist = false)
    private List<RoleBean>roleList;
}
